put through the wringer
see:
put through
, def. 3.